package org.sob.blog.controller.admin;

import org.sob.blog.pojo.Looper;
import org.sob.blog.response.ResponseResult;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/admin/Looper")
public class LooperApi {
    @PostMapping
    public ResponseResult addLooper(@RequestBody Looper looper) {
        return null;
    }

    @DeleteMapping("/{looperId}")
    public ResponseResult deleteLooper(@PathVariable("looperId") String looperId) {
        return  null;
    }

    @PutMapping("/{looperId}")
    public ResponseResult updateLooper(@PathVariable("looperId") String looperId) {
        return null;
    }

    @GetMapping("/{looperId}")
    public ResponseResult getLooper(@PathVariable("looperId") String looperId) {
        return  null;
    }

    @GetMapping("/list")
    public ResponseResult listLoopers(@RequestParam("page") int page, @RequestParam("size") int size) {
        return  null;
    }
}
